package com.wing.productionPlan.model.response;

import com.wing.productionPlan.model.entity.SimpleWorkOrderDevice;
import com.wing.productionPlan.model.request.ProductionProcessMaterialForm;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.time.LocalDateTime;
import java.util.List;

/**
 * 简版工单工序表VO
 *
 * @author
 */
@Data
@NoArgsConstructor
@Accessors(chain = true)
public class SimpleWorkOrderProcessVO {

    /**
     * ID
     */
    private Long id;

    /**
     * 创建时间
     */
    @JsonFormat(timezone = "GMT+8" , pattern = "yyyy-MM-dd HH:mm:ss" )
    private LocalDateTime createTime;

    /**
     * 创建者
     */
    private Long creator;

    /**
     * 修改者
     */
    private Long modifier;

    /**
     * 创建人
     */
    private String creatorName;

    /**
     * 修改人
     */
    private String modifierName;

    /**
     * day
     */
    private Integer day;

    /**
     * no
     */
    private Integer no;

    /**
     * 简版工单id
     */
    private Long simpleOrderId;

    /**
     * 工序id
     */
    private Long processId;
    /**
     * 工序名称
     */
    private String nodeNames;

    private List<SimpleWorkOrderDeviceVO> deviceList;
    /**
     * 排产物料
     */
    List<ProductionProcessMaterialVO> materialList;

    private Boolean isDeleted;

    private String oldSpecCode;

}
